package com.fzshang.shopping.api.controller;


import com.fzshang.shopping.commen.bean.Classification;
import com.fzshang.shopping.commen.bean.Journal;
import com.fzshang.shopping.commen.bean.layuiBean.ResultPage;
import com.fzshang.shopping.commen.bean.layuiBean.VoPage;
import com.fzshang.shopping.commen.controller.BaseController;
import org.springframework.web.bind.annotation.RequestMapping;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.ResponseBody;

/**
 * <p>
 * 日志 前端控制器
 * </p>
 *
 * @author 冯政尚
 * @since 2020-04-25
 */
@Controller
@RequestMapping("admin/journal")
public class JournalController extends BaseController {


    /**
     * @return 日志管理
     */
    @RequestMapping("journal.html")
    public String journal(){
        return "admin/journal/journal";
    }



    /**
     * @param voPage
     * @return 后台查询
     */
    @RequestMapping(value = "selectMyPage",method = RequestMethod.GET)
    @ResponseBody
    public ResultPage<Journal> selectMyPage(VoPage voPage){
        return journalService.selectMyPage(voPage);
    }
}
